package com.hqyj.service;

import com.hqyj.pojo.Employee;
import com.hqyj.pojo.PageData;

import java.util.List;
import java.util.Map;

public interface EmployeeService {
    //获取全部职员信息
    List<Employee> getAllEmployee();

    //添加职员信息
    int insertEmployee(Employee employee);

    //修改员工的信息
    int updateEmployee(Employee employee);

    //删除员工
    int deleteEmployee(Employee employee);

    //获取单页的用户信息
    // pageNumber 页码   pageSize 每页记录数
    PageData<Employee> getEmployeeByPage(int pageNumber, int pageSize);


}
